package com.qqt.csr.web.vo.resp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * 客服状态
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(name = "CsStatusRespVO", description = "客服状态")
public class CsStatusRespVO implements Serializable {

    @Serial
    private static final long serialVersionUID = -5678070318030990448L;
    /**
     * 在线状态：0 在线；1 忙碌
     */
    @Schema(description = "在线状态：0 在线；1 忙碌", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer workStatus;

    /**
     * 是否就绪：0 否；1 是
     */
    @Schema(description = "是否就绪：0 否；1 是", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer readyFlag;

    @Schema(description = "im用户标识", requiredMode = Schema.RequiredMode.REQUIRED)
    private String imUserFlag;

    @Schema(description = "im账户id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long imAccountId;

    @Schema(description = "webSocket地址", requiredMode = Schema.RequiredMode.REQUIRED)
    private String webSocketUrl;
}